home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form Form1
- Caption = "Execution Crackme 0.1 keygen"
- ClientHeight = 3195
- ClientLeft = 60
- ClientTop = 345
- ClientWidth = 4680
- LinkTopic = "Form1"
- ScaleHeight = 3195
- ScaleWidth = 4680
- StartUpPosition = 3 'Windows Default
- Begin VB.TextBox Text2
- Height = 495
- Left = 960
- TabIndex = 3
- Top = 2160
- Width = 3255
- End
- Begin VB.CommandButton Command1
- Caption = "Calculates the serial"
- Default = -1 'True
- Height = 495
- Left = 1320
- TabIndex = 2
- Top = 1320
- Width = 2055
- End
- Begin VB.TextBox Text1
- Height = 495
- Left = 960
- TabIndex = 0
- Top = 600
- Width = 3255
- End
- Begin VB.Label Label2
- Caption = "Serial :"
- Height = 375
- Left = 120
- TabIndex = 4
- Top = 2160
- Width = 735
- End
- Begin VB.Label Label1
- Caption = "Name :"
- Height = 255
- Left = 120
- TabIndex = 1
- Top = 720
- Width = 735
- End
- Attribute VB_Name = "Form1"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub Command1_Click()
- edi = 0 ' initializes the value of edi
- user_name = UCase(Text1.Text) ' Name in upper case
- 'Beginning of the loop
- For i = 1 To Len(user_name)
- Char_name = Asc(Mid$(user_name, i, 1)) 'this will return
- 'the char(i) from the name
- eax = Char_name
- eax = eax - &H40 ' ax = ax - 40h
- eax = eax * &H82 ' ax = ax * 82h
- eax = eax + edi
- eax = eax + (&H50 * 16) ' add 50h 16 times to ax
- edi = eax ' stores eax in edi
- Next i
- serial = edi
- If serial > 32768 Then MsgBox "It won't work with the crackme (Reason : Overflow)", vbOKOnly, "Be careful"
- Text2.Text = serial
- Clipboard.SetText Text2.Text 'copy the serial to clipboard
-
- End Sub
-